home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2000 July / CD 3 / redhat-6.2.iso / doc / sample.ks
Encoding:
Text File  |  2000-03-09  |  3.2 KB  |  99 lines

  1. ### Language Specification
  2. #lang ru_RU.KOI8-R 
  3. lang en_US
  4.  
  5. ### Network Configuration
  6. network --bootproto dhcp
  7. #network --bootproto static --ip 192.168.0.1 --netmask 255.255.254.0 --gateway 192.168.0.1 --nameserver 192.168.0.254 
  8.  
  9. ### Source File Location
  10. #cdrom
  11. nfs --server porkchop.redhat.com --dir /mnt/dist/6.2/i386    
  12.  
  13. ### Ethernet Device Configuration
  14. #device ethernet wd --opts "io=0x280, irq=3" 
  15.  
  16. ### Keyboard Configuration
  17. ### Will get set to 'us' by default 
  18. ### if nothing specified in /etc/sysconfig/keyboard
  19. keyboard us
  20.  
  21. ### Partitioning Information
  22. ### Whether to clear out the Master Boot Record (yes/no)
  23. ### Which partitions to format (--linux/--all)
  24. ###      --linux - only format existing linux partitions
  25. ###      --all   - format all existing partitions
  26. ### Which partitions to set up on new system as well 
  27. ### as size of those partitions
  28. zerombr yes
  29. clearpart --linux
  30. part /boot --size 16
  31. part swap --size 127
  32. part / --size 1000 --grow --maxsize 1400
  33. #part raid.0 --size 80
  34. #part raid.1 --size 80
  35. #raid swap raid.0 raid.1 --level 1 --device md0
  36. install
  37.  
  38. ### Mouse Configuration
  39. ### Will only setup 3 types of mice
  40. ###     generic        - 2-button serial
  41. ###     genericps/2    - 2-button ps/2
  42. ###     msintellips/2  - MS Intellimouse
  43. ### All three can be setup with or without 3-button
  44. ### emulation
  45. ### Run 'mouseconfig --help' in order to see other
  46. ### supported mouse type and make appropriate change
  47. ### NOTE: You will need to run 'mouseconfig' manually
  48. ### after installation if you have a non-ps/2 mouse
  49. ### and are installing X, as a ps/2 mouse is setup
  50. ### by default
  51. #mouse generic --device ttyS0
  52. mouse generic3ps/2
  53.  
  54. ### Time Zone Configuration
  55. ### Will get set to 'US/Eastern' if ZONE is missing
  56. ### from /etc/sysconfig/clock or if file is missing entirely
  57. timezone --utc US/Eastern
  58.  
  59. ### X Configuration
  60. ### Will set up system for minimal resolution and color depth;
  61. ### may wish to run Xconfigurator manually after system installation
  62. #xconfig --server "SVGA" --monitor "viewsonic g773"
  63.  
  64. ### Root Password Designation
  65. ### '--iscrypted' does not work properly with release 6.1 as shipped;
  66. ### will need to get updates from http://support.redhat.com/errata
  67. ### in order for this to work correctly; can also just specify
  68. ### root password in plain text and change it after system installation;
  69. ### e.g. 'rootpw ThisIsThePassword' will get root's password to
  70. ### "ThisIsThePassword"
  71. rootpw paSSword 
  72.  
  73. ### Authorization Configuration
  74. #auth --useshadow --enablemd5
  75. auth --enablemd5
  76.  
  77. ### Lilo Configuration
  78. ### Does not support pulling kernel 'append' arguments, but those
  79. ### can be added into config file using '--append' argument;
  80. ### e.g. 'lilo --append "mem=128M" --location mbr' will put the
  81. ### memory argument in the /etc/lilo.conf file at install
  82. lilo --location mbr
  83. #lilo --location none
  84.  
  85. ### Package Designation
  86. ### The package names, as well as the groups they are a part of can be
  87. ### found in the /RedHat/base/comps file; individual packages can be
  88. ### specified by entering their names one per line;
  89. ### groups (e.g. 'X Window System') can be specified
  90. ### by appending a "@" in front of the group name;
  91. ### e.g. '@ X Window System'
  92. %packages
  93. python
  94. @ X Window System
  95.  
  96. ### Commands To Be Run Post-Installation
  97. %post
  98. echo "This is in the chroot" > /tmp/message
  99.